package biz.impl;

import java.util.List;

import dao.SealDao;
import entity.Seal;
import biz.SealBiz;

public class SealBizImpl implements SealBiz {
	private SealDao sealDao;

	public SealDao getSealDao() {
		return sealDao;
	}

	public void setSealDao(SealDao sealDao) {
		this.sealDao = sealDao;
	}

	public List<Seal> findByCreateid(Integer createid) {
		return sealDao.findByCreateid(createid);
	}

	public List<Seal> findAll() {
		return sealDao.findAll();
	}

	public Seal findById(Integer id) {
		return sealDao.findById(id);
	}

	public int add(Seal seal) {
		return sealDao.add(seal);
	}

	public int delete(Seal seal) {
		return sealDao.delete(seal);
	}

}
